//
//  ZCBaseViewController.m
//  KitchenLife
//
//  Created by dllo on 15/10/12.
//  Copyright © 2015年 赵志程. All rights reserved.
//

#import "ZCBaseViewController.h"


@interface ZCBaseViewController ()

@end

@implementation ZCBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationController.navigationBar.translucent = NO;
    self.navigationController.navigationBar.barTintColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"B6EFEB94-7465-47F0-8BB2-AA0E3F5C27BD"]];
}
// 空白页
- (NSAttributedString *)titleForEmptyDataSet:(UIScrollView *)scrollView
{
    NSString *text = @"网络不给力还没有加载出来,耐心等等吧";
    NSDictionary *str = @{NSFontAttributeName:[UIFont boldSystemFontOfSize:18.0f]};
    return [[NSAttributedString alloc] initWithString:text attributes:str];
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
